package com.h3c.ptability.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.h3c.ptability.dto.PtWaitSignInfoDTO;
import com.h3c.ptability.entity.PtWaitSignInfo;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 数据库访问层
 *
 * @author chenyifan
 * @since 2022-10-20 15:08:03
 */
public interface PtWaitSignInfoMapper extends BaseMapper<PtWaitSignInfo> {

    /**
     * 导出记录
     *
     * @param signInfoDTO
     * @return
     */
    List<PtWaitSignInfo> downloadRecord(@Param("signInfoDTO") PtWaitSignInfoDTO signInfoDTO);

    /**
     * 导出不存在正式员工中的签署记录
     *
     * @param signInfoDTO
     * @return
     */
    List<PtWaitSignInfo> downloadExcelRecord(@Param("signInfoDTO") PtWaitSignInfoDTO signInfoDTO);
}

